package com.liwq.mapper;

import com.liwq.entity.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {

    int addUser(User user);

    int deleteUserById(Integer id);

    int updateUserById(User user);

    User getUserById(Integer id);

    User getUserById2(Map<String,Object> map);


    List<User> listUsers();
}